<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>你好Angular</title>
</head>
<body ng-app="app">
    <script type="text/javascript" src="../js/angular.min.js"></script>
    <script type="text/javascript" src="../js/helloAngular.js" ></script>
    <div ng-controller="hello as h">
        <h1 ng-show="h.isShowed">
            {{h.content}}
        </h1>
        <h1 ng-hide="h.isShowed">
            页面出错了！
        </h1>
    </div>
</body>
</html>